do
	echo ${top[i]}
	#mkdir ${top[i]}
	startYear=1994
	while [ ${startYear} -le ${endYear} ]
	do

	########
echo "BEGIN {
	FS=\"\\\\t\"
}
\$2 ~ /${top[i]}/{
	printf(\"%s\\\\t%s\\\\t%s\\\\n\", \$1, \$7, \$8);
}
END{}

" > ${AWKSRC}
	awk -f ${AWKSRC} ${startYear}.${DATA} >> ${top[i]}.${STOCK} 

	########	
		
		startYear=$((startYear+1))	
	done
	#mv ${top[i]}.${STOCK} ${top[i]}/
	
	j=0
	while [ $j -le 6 ]
	do
		java SimpleMovingAverage ${top[i]}.${STOCK} ${days[j]} > ${top[i]}.${STOCK}.${days[j]} 
		j=$((j+1))
	done

	i=$((i+1))
done



#mv *.data ../

